home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / gnupg.preinst < prev    next >
Text File  |  2009-09-27  |  925b  |  25 lines

  1. #!/bin/sh
  2. set -e
  3. # Automatically added by dh_installudev
  4. if [ "$1" = install ] || [ "$1" = upgrade ]; then
  5.     if [ -e "/etc/udev/rules.d/z60_gnupg.rules" ]; then
  6.         if [ "`md5sum \"/etc/udev/rules.d/z60_gnupg.rules\" | sed -e \"s/ .*//\"`" = \
  7.              "`dpkg-query -W -f='${Conffiles}' gnupg | sed -n -e \"\\\\' /etc/udev/rules.d/z60_gnupg.rules '{s/ obsolete$//;s/.* //p}\"`" ]
  8.         then
  9.             rm -f "/etc/udev/rules.d/z60_gnupg.rules"
  10.         fi
  11.     fi
  12. fi
  13. # End automatically added section
  14. # Automatically added by dh_installudev
  15. if [ "$1" = install ] || [ "$1" = upgrade ]; then
  16.     if [ -e "/etc/udev/rules.d/50-gnupg.rules" ]; then
  17.         if [ "`md5sum \"/etc/udev/rules.d/50-gnupg.rules\" | sed -e \"s/ .*//\"`" = \
  18.              "`dpkg-query -W -f='${Conffiles}' gnupg | sed -n -e \"\\\\' /etc/udev/rules.d/50-gnupg.rules '{s/ obsolete$//;s/.* //p}\"`" ]
  19.         then
  20.             rm -f "/etc/udev/rules.d/50-gnupg.rules"
  21.         fi
  22.     fi
  23. fi
  24. # End automatically added section
  25.